package com.mastercard.assets.flows.process;

import com.mastercard.assets.flows.to.FlowDataTO;

public class FlowProcessResult
	implements
		java.io.Serializable
{
	private int result ;
	private String message ;
	private Throwable exception ;
	private FlowDataTO data ;
	private int stepupResult ;
	
	public int getStepupResult() {
		return stepupResult;
	}

	public void setStepupResult(int stepupResult) {
		this.stepupResult = stepupResult;
	}

	public int getResult( )
	{
		return result ;
	}
	
	public String getMessage( )
	{
		return message ;
	}
	
	public FlowProcessResult( int result , String message )
	{
		super( ) ;
		this.result = result ;
		this.message = message ;
	}
	
	public FlowProcessResult( int result , String message , Throwable exception )
	{
		super( ) ;
		this.result = result ;
		this.message = message ;
		this.exception = exception ;
	}
	
	public FlowProcessResult( int result )
	{
		super( ) ;
		this.result = result ;
	}
	
	public FlowProcessResult( int result , int stepupResult )
	{
		super( ) ;
		this.result = result ;
		this.stepupResult = stepupResult ;
	}
	
	public FlowProcessResult( int result , FlowDataTO data )
	{
		super( ) ;
		this.result = result ;
		this.data = data ;
	}

	public Throwable getException( )
	{
		return exception;
	}

	public FlowDataTO getData() {
		return data;
	}
	
	
}
